package com.example.kakaotest;

import com.example.kakaotest.chat.MyData;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.FrameLayout;
import android.widget.TextView;

public class MyDateView extends FrameLayout {
	TextView titleView;
	MyData mData;
	public MyDateView(Context context) {
		super(context);
		LayoutInflater inflater = LayoutInflater.from(context);
		inflater.inflate(R.layout.my_date_view, this);
		titleView = (TextView)findViewById(R.id.dateView);
	}
	public void setData(MyData data) {
		mData = data;
		titleView.setText(data.title);
	}

}
